package com.charity.service;

import com.charity.model.CommonResponse;
import com.charity.pojo.Donation;
import com.charity.pojo.Entry;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface EntryService {

    List<Entry> entryByFbu();

    Entry entryById(Long id);

    Integer addEntry(Long id, String entryName, Long recipientId, String introduction, String Etype, Long targetAmount,
                     String beginDate, String endDate, String account, String state, Integer days, MultipartFile file) throws Exception;

    Long entryByType();

    Integer updEntryCol(Long id, Long mount);

    List<Entry> entryByRecId(Long recipientId);

    Integer updEntry(Long id, String introduction, String Etype, Long targetAmount, String state, String reviewer, MultipartFile file) throws Exception;

    Integer updEntryBySQ(Long id,String account, String stateM);

    Integer updEntryByBC(Long id, String whereAbouts, MultipartFile file) throws Exception;

    List<Entry> selBySH();

    Integer updSh(Entry entry) throws Exception;

    List<Entry> selWTG();

    Integer delD(Long id) throws Exception;

    List<Entry> selJQ();

    Integer upWJ(Entry entry) throws Exception;

    Integer upFF(Entry entry) throws Exception;

    List<Entry> selFSQ();

    String selAC(Long id);

}
